package design.service.engine;

import design.model.aggregaets.TreeRich;
import design.model.vo.EngineResult;

import java.util.Map;

/**
 * @author: hero生仔
 */
public interface IEngine {
    /**
     * 执行决策树的功能
     * @param treeId
     * @param userId
     * @param treeRich
     * @param decisionMatter
     * @return
     */
    EngineResult process(final Long treeId, final String userId, TreeRich treeRich, final Map<String, String> decisionMatter);
}
